
import { Card } from '@/utils/primevue'
type Props = {
  title: string
}

const CardItem = (props: Props, ctx: any) => {
  // 传递参数
  const {
    title,
  } = props
  return (
    <Card class='p-fluid'>
      {{
        title: title,
        content: ctx.slots.default,
      }}
    </Card>
  )
}
export default CardItem
